#include <QtGui/QApplication>
#include <QDeclarativeEngine>
#include "qmlapplicationviewer.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QmlApplicationViewer viewer;
    viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
#ifdef HARMATTAN
    viewer.setMainQmlFile(QLatin1String("qml/RewitQ/mainHarmattan.qml"));
#elif defined(Q_OS_ANDROID)
    viewer.setMainQmlFile(QLatin1String("qml/RewitQ/mainAndroid.qml"));
#else
    viewer.setMainQmlFile(QLatin1String("qml/RewitQ/main.qml"));
#endif
    viewer.showExpanded();

    return app.exec();
}
